"use strict";
cc._RF.push(module, '6dbe64qg+lKaLsOaB6gY9G6', 'TextItem');
// scripts/TextItem.js

"use strict";

var t = require;
var e = module;
var o = exports;

var _n26,
    i = void 0 && (void 0).__extends || (_n26 = function n(t, e) {
  return (_n26 = Object.setPrototypeOf || {
    __proto__: []
  } instanceof Array && function (t, e) {
    t.__proto__ = e;
  } || function (t, e) {
    for (var o in e) {
      Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
    }
  })(t, e);
}, function (t, e) {
  function o() {
    this.constructor = t;
  }

  _n26(t, e), t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype, new o());
}),
    s = void 0 && (void 0).__decorate || function (t, e, o, n) {
  var i,
      s = arguments.length,
      r = s < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
  if ("object" == (typeof Reflect === "undefined" ? "undefined" : typeof Reflect) && "function" == typeof Reflect.decorate) r = Reflect.decorate(t, e, o, n);else for (var c = t.length - 1; c >= 0; c--) {
    (i = t[c]) && (r = (s < 3 ? i(r) : s > 3 ? i(e, o, r) : i(e, o)) || r);
  }
  return s > 3 && r && Object.defineProperty(e, o, r), r;
};

Object.defineProperty(o, "__esModule", {
  value: !0
});

var r = cc._decorator,
    c = r.ccclass,
    a = r.property,
    u = function (t) {
  function e() {
    var e = null !== t && t.apply(this, arguments) || this;
    return e.textLabel = null, e.game = null, e.idx = 0, e.text = "", e.status = 0, e;
  }

  return i(e, t), e.prototype.onLoad = function () {}, e.prototype.init = function (t, e, o) {
    this.game = t, this.text = o, this.idx = e, this.textLabel.string = o, this.textLabel.node.opacity = 100, this.status = 0;
  }, e.prototype.light = function () {
    this.textLabel.node.opacity = 255, this.status = 1;
  }, e.prototype.gray = function () {
    this.textLabel.node.opacity = 100;
  }, e.prototype.start = function () {}, s([a(cc.Label)], e.prototype, "textLabel", void 0), s([c], e);
}(cc.Component);

o["default"] = u;

cc._RF.pop();